﻿using MediatR;
using TaskProject.ErrorCode;

namespace TaskProject.Application.Command.Production
{
    public class AddProductProcessCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 工序编码
        /// </summary>
        public string ProcessCode { get; set; }
        /// <summary>
        /// 加工顺序
        /// </summary>
        public int Order { get; set; }
        /// <summary>
        /// 工艺流程
        /// </summary>
        public string Flow { get; set; }
        /// <summary>
        /// 负责人外键
        /// </summary>
        public int LeaderId { get; set; }
        /// <summary>
        /// 生产工单外键
        /// </summary>
        public int WorkOrderId { get; set; }
    }
}
